<?php

class OrganizationUser extends UserEditableYes
{

    function __construct()
    {
        parent::__construct();
        $this->desasignable = false;
    }

    function administrar()
    {
        Security::addResourceEdges( array( 'R_USR' => array( $this->id ) ),
                'R_ADM_ORG', $_SESSION[ 'organization' ] );
        Security::addUserRoles( $this->id,
                array( 'ADM_ORG' => array( $_SESSION[ 'organization' ] ) ) );
    }

    function delete()
    {
        
    }

}

?>
